STOP {<string expression>}
STOP
STOP “Normal termination”
Terminates the current replication and optionally displays a message. The simulation will then continue with the next replication. Use STOP to end a replication when the simulation has run long enough to provide sufficient statistical data.
Any logic.
<string expression>
An optional message to display when the replication stops.
In the example below, a STOP statement is used in Operation Logic to end the simulation whenever the variable Total_Complete reaches 100.
See Also
BREAK, BREAKBLK, RETURN, and PAUSE.
![]() |
© 2012 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com |